
export default {
    id: "CashierEntity",
    returnTotal:true,
    modelFile: "sales/dataset/CashierEntity.xml",
    sortFields: [
        "FID",
        "FNUMBER",
        "FGOODSAMOUNT",
        "FORDERMONEY",
        "FRECEIVABLEMONEY",
        "FCOLLECTIONMONEY",
        "FCHANGEMONEY",
        "FENTERPRISEDESC",
        "FENTERPRISEID",
        "FUSERID",
        "FUSERDESC",
        "FCREATEDATE",
        "FAUDIT",
        "FSHOPDESC",
        "FSHOPDESCID",
        "FPAYMENTTYPE",
        "FPAYMENTID",
        "FISPAYMENT",

    ],
    fields: {
        FID: {
            name: "FID", //字段ID
            label: "ID", //字段描述
            dbtype: "dbString", //数据类型

        },

        FNUMBER: {
            name: "FNUMBER", //字段ID
            label: "单号", //字段描述
            dbtype: "dbString", //数据类型
            length: 25,
            readonly: true,
        },
        FGOODSAMOUNT: {
            name: "FGOODSAMOUNT", //字段ID
            label: "商品数量", //字段描述
            dbtype: "dbFloat", //数据类型
            readonly: true,
        },
        FORDERMONEY: {
            name: "FORDERMONEY", //字段ID
            label: "订单金额", //字段描述
            dbtype: "dbFloat", //数据类型
            readonly: true,

        },
        FRECEIVABLEMONEY: {
            name: "FRECEIVABLEMONEY", //字段ID
            label: "应收金额", //字段描述
            dbtype: "dbFloat", //数据类型
            readonly: true,
        },


        FCOLLECTIONMONEY: {
            name: "FCOLLECTIONMONEY", //字段ID
            label: "收款金额", //字段描述
            dbtype: "dbFloat", //数据类型
            readonly: true,
        },
        FCHANGEMONEY: {
            name: "FCHANGEMONEY", //字段ID
            label: "找零金额", //字段描述
            dbtype: "dbFloat", //数据类型   
            readonly: true,
        },


        FENTERPRISEDESC: {
            name: "FENTERPRISEDESC", //字段ID
            label: "企业名称", //字段描述
            dbtype: "dbString", //数据类型
            readonly: true,
        },
        FENTERPRISEID: {
            name: "FENTERPRISEID", //字段ID
            label: "企业ID", //字段描述
            dbtype: "dbString", //数据类型
            readonly: true,
        },
        FUSERID: {
            name: "FUSERID", //字段ID
            label: "用户ID", //字段描述
            dbtype: "dbString", //数据类型
            readonly: true,
        },
        FUSERDESC: {
            name: "FUSERDESC", //字段ID
            label: "用户", //字段描述
            dbtype: "dbString", //数据类型
            readonly: true,
        },
        FCREATEDATE: {
            name: "FCREATEDATE", //字段ID
            label: "创建时间", //字段描述
            dbtype: "dbDate", //数据类型
            readonly: true,
        },

        FAUDIT: {
            name: "FAUDIT", //字段ID
            label: "审核", //字段描述
            dbtype: "dbInt", //数据类型
            readonly: true,
        },

        FSHOPDESC: {
            name: "FSHOPDESC", //字段ID
            label: "店铺", //字段描述
            dbtype: "dbString", //数据类型
            readonly: true,
        },
        FSHOPDESCID: {
            name: "FSHOPDESCID", //字段ID
            label: "店铺编号", //字段描述
            dbtype: "dbString", //数据类型
            readonly: true,

        }, FPAYMENTTYPE: {
            name: "FPAYMENTTYPE", //字段ID
            label: "付款类型", //字段描述
            dbtype: "dbString", //数据类型
            readonly: true,
        },
        FPAYMENTID: {
            name: "FPAYMENTID", //字段ID
            label: "付款单号", //字段描述
            dbtype: "dbString", //数据类型
            readonly: true,
        }, FISPAYMENT: {
            name: "FISPAYMENT", //字段ID
            label: "是否付款", //字段描述
            dbtype: "dbBoolean", //数据类型
            readonly: true,
        },
    }
}
